package com.mzj.saas.jobs.bill.entity;

import com.mzj.saas.jobs.commons.IdEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * 违约金账单明细
 */
@Entity
@Table(name = "saas_estate_violate_bill")
public class EstateViolateBill extends IdEntity {


    /*
     *房屋id
     */
    @Column(name = "house_id", nullable = true)
    private String houseId;
    /*
     *账单规则id
     */
    @Column(name = "rule_id", nullable = true)
    private String ruleId;
    /*
     *房号
     */
    @Column(name = "room_number", nullable = true)
    private String roomNumber;
    /*
     *产权单位
     */
    @Column(name = "org_id", nullable = true)
    private Long orgId;
    /*
     *承租人
     */
    @Column(name = "match_user_id", nullable = true)
    private String matchUserId;
    /*
     *账单类型(1水费 2电费 3物业费 4宽带费 5电视费 6煤气费 7暖气费)
     */
    @Column(name = "bill_type", nullable = true)
    private Integer billType;
    /*
     *违约金金额
     */
    @Column(name = "cost", nullable = true)
    private Integer cost;
    /*
     * 日增长费用标准
     */
    @Column(name = "growth_cost", nullable = true)
    private Integer growthCost;
    /*
     * 违约金状态 0正常 1减免  2已删除
     */
    @Column(name = "status", nullable = true)
    private Integer status;
    /*
     *生成时间
     */
    @Column(name = "create_time", nullable = true)
    private Date createTime;
    /*
     *缴费时间
     */
    @Column(name = "payment_time", nullable = true)
    private Date paymentTime;
    /*
     * 缴费状态：0未缴费 1已缴费
     */
    @Column(name = "payment_status", nullable = true)
    private Integer paymentStatus;

    /**
     * 原账单id
     */
    @Column(name = "bill_id", nullable = true)
    private Long billId;

    /*
     *操作人
     */
    @Column(name = "operator_id", nullable = true)
    private String operatorId;
    /*
     *操作时间
     */
    @Column(name = "operator_time", nullable = true)
    private Date operatorTime;

    /*
     *房屋退租状态: 0正常 1已退租
     */
    @Column(name = "lease_status", nullable = true)
    private Integer leaseStatus;


    public String getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId;
    }

    public Date getOperatorTime() {
        return operatorTime;
    }

    public void setOperatorTime(Date operatorTime) {
        this.operatorTime = operatorTime;
    }

    public Date getPaymentTime() {
        return paymentTime;
    }

    public void setPaymentTime(Date paymentTime) {
        this.paymentTime = paymentTime;
    }

    public Integer getPaymentStatus() {
        return paymentStatus;
    }

    public void setPaymentStatus(Integer paymentStatus) {
        this.paymentStatus = paymentStatus;
    }

    public Long getBillId() {
        return billId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public void setBillId(Long billId) {
        this.billId = billId;
    }

    public String getRuleId() {
        return ruleId;
    }

    public void setRuleId(String ruleId) {
        this.ruleId = ruleId;
    }

    public Integer getBillType() {
        return billType;
    }

    public void setBillType(Integer billType) {
        this.billType = billType;
    }

    public String getHouseId() {
        return houseId;
    }

    public void setHouseId(String houseId) {
        this.houseId = houseId;
    }


    public String getRoomNumber() {
        return roomNumber;
    }

    public void setRoomNumber(String roomNumber) {
        this.roomNumber = roomNumber;
    }

    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public String getMatchUserId() {
        return matchUserId;
    }

    public void setMatchUserId(String matchUserId) {
        this.matchUserId = matchUserId;
    }

    public Integer getGrowthCost() {
        return growthCost;
    }

    public void setGrowthCost(Integer growthCost) {
        this.growthCost = growthCost;
    }

    public Integer getCost() {
        return cost;
    }

    public void setCost(Integer cost) {
        this.cost = cost;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getLeaseStatus() {
        return leaseStatus;
    }

    public void setLeaseStatus(Integer leaseStatus) {
        this.leaseStatus = leaseStatus;
    }
}
